Package com.cisco.pt.ipc.sim
Interface ModulePhysicalView
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
ModulePhysicalViewImpl
Information provided by the PKI file:
\class ModulePhysicalView
\brief Physical view for module.
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:intInformation provided by the PKI file:intgetX1()Information provided by the PKI file:intgetX2()Information provided by the PKI file:intgetY1()Information provided by the PKI file:intgetY2()Information provided by the PKI file:booleanInformation provided by the PKI file:booleanInformation provided by the PKI file:booleanisPower()Information provided by the PKI file:voidsetHorizontal(boolean bHor) Information provided by the PKI file:voidsetIsNonRemovable(boolean bNonRemovable) Information provided by the PKI file:voidsetIsPower(boolean bPower) Information provided by the PKI file:voidsetModuleAdded(boolean bAdded) Information provided by the PKI file:voidsetSlotNum(int slotNum) Information provided by the PKI file:voidsetX1(int X1) Information provided by the PKI file:voidsetX2(int X2) Information provided by the PKI file:voidsetY1(int Y1) Information provided by the PKI file:voidsetY2(int Y2) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
setIsPower
void setIsPower(boolean bPower) Information provided by the PKI file:
\brief Sets if the power is on or off. \param bPower, true to set power on, false for off.- Parameters:
bPower- Takes in a parameter of bPower
-
isPower
boolean isPower()Information provided by the PKI file:
\brief Gets if the power is on or off. \return bool, true if power on, false for off.- Returns:
- boolean Returns a boolean
-
setSlotNum
void setSlotNum(int slotNum) Information provided by the PKI file:
\brief Sets the slot number used by the view. \param slotNum, slot number to use.- Parameters:
slotNum- Takes in a parameter of slotNum
-
getSlotNum
int getSlotNum()Information provided by the PKI file:
\brief Gets the slot number used by the view. \return int, slot number to use.- Returns:
- int Returns a int
-
setModuleAdded
void setModuleAdded(boolean bAdded) Information provided by the PKI file:
\brief Sets weither a module is in the view. \param bAdded, true if a module is in the view, false if not.- Parameters:
bAdded- Takes in a parameter of bAdded
-
getModuleAdded
boolean getModuleAdded()Information provided by the PKI file:
\brief Gets weither a module is in the view. \return bool, true if a module is in the view, false if not.- Returns:
- boolean Returns a boolean
-
setIsNonRemovable
void setIsNonRemovable(boolean bNonRemovable) Information provided by the PKI file:
\brief Sets weither it is non-removable. \param bNonRemovable, true if it can't be removed, false if it can.- Parameters:
bNonRemovable- Takes in a parameter of bNonRemovable
-
isNonRemovable
boolean isNonRemovable()Information provided by the PKI file:
\brief Gets weither it is non-removable. \return bool, true if it can't be removed, false if it can.- Returns:
- boolean Returns a boolean
-
setHorizontal
void setHorizontal(boolean bHor) Information provided by the PKI file:
\brief Used for power buttons, sets if it is a horzontal button or a vertical button. \param bHor, true if it is a horizontal button, false if it is vertical.- Parameters:
bHor- Takes in a parameter of bHor
-
isHorizontal
boolean isHorizontal()Information provided by the PKI file:
\brief Used for power buttons, Gets if it is a horzontal button or a vertical button. \return bool, true if it is a horizontal button, false if it is vertical.- Returns:
- boolean Returns a boolean
-
setX1
void setX1(int X1) Information provided by the PKI file:
\brief Sets leftmost x coordintate. \param X1, the leftmost x coordintate.- Parameters:
X1- Takes in a parameter of X1
-
getX1
int getX1()Information provided by the PKI file:
\brief Gets leftmost x coordintate. \return int, the leftmost x coordintate.- Returns:
- int Returns a int
-
setX2
void setX2(int X2) Information provided by the PKI file:
\brief Sets rightmost x coordintate. \param X2, the rightmost x coordintate.- Parameters:
X2- Takes in a parameter of X2
-
getX2
int getX2()Information provided by the PKI file:
\brief Gets rightmost x coordintate. \return int, the rightmost x coordintate.- Returns:
- int Returns a int
-
setY1
void setY1(int Y1) Information provided by the PKI file:
\brief Sets top y coordintate. \param Y1, the top y coordintate.- Parameters:
Y1- Takes in a parameter of Y1
-
getY1
int getY1()Information provided by the PKI file:
\brief Gets top y coordintate. \return int, the top y coordintate.- Returns:
- int Returns a int
-
setY2
void setY2(int Y2) Information provided by the PKI file:
\brief Sets bottom y coordintate. \param Y2, the bottom y coordintate.- Parameters:
Y2- Takes in a parameter of Y2
-
getY2
int getY2()Information provided by the PKI file:
\brief Gets bottom y coordintate. \return int, the bottom y coordintate.- Returns:
- int Returns a int
-